#!/bin/sh

DIR_PATH=$1
REPO_URL=$2
# echo $DIR_PATH
# echo $REPO_URL

cd ${SOURCE_DIR}
if [ ! -d $DIR_PATH ]; then
    mkdir -p $DIR_PATH
    echo "$DIR_PATH" >> repos.txt
    cd $DIR_PATH
    git clone $REPO_URL .
    echo "$DIR_PATH created."
else
    echo "$DIR_PATH has already created."
fi
